<?php
// +---------------------------------------------------------------------------+
// | This file is part of the KnowledgebasePublisher package                   |
// | KnowledgebasePublisher - web based knowledgebase publisher tool           |
// |                                                                           |
// | Author:  Evgeny Leontev <eleontev@gmail.com>                              |
// | Copyright (c) 2005 Evgeny Leontev                                         |
// |                                                                           |
// | For the full copyright and license information, please view the LICENSE   |
// | file that was distributed with this source code.                          |
// +---------------------------------------------------------------------------+

class KBClientView_success extends KBClientView_common
{

	function &execute(&$manager) {
		
		$this->home_link = true;
		$this->meta_title = '';
		
		$data = '';
		$data .= $this->getTop($manager, false, false);
		$data .= $this->getMessage($manager);		
		
		return $data;		
	}
	
	
	
	function getMessage(&$manager)  {
		
		$tpl = &new tplTemplatez($this->template_dir . 'success.html');
		 
		
		$tpl->tplParse($this->msg);
		return $tpl->tplPrint(1);
	}
}
?>